home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / IDE / SUBARTIC / RELEASE.ZIP / sub_arctic / anim / timer.java < prev    next >
Encoding:
Java Source  |  1996-10-04  |  1.4 KB  |  39 lines

  1. package sub_arctic.anim;
  2. import sub_arctic.input.event;
  3. /**
  4.  * This interface defines how the timer callback works. This can be
  5.  * used in any part of a sub_arctic application or applet to get 
  6.  * notification that some amount of time has elapsed. The amount
  7.  * of time to wait should be specified by creating a timer
  8.  * transition and scheduling it with the animation agent.<p>
  9.  * 
  10.  * @see timer_transition
  11.  * @author Ian Smith
  12.  */
  13. public interface timer {
  14.   /**
  15.    * This method is called when the amount of time requested via
  16.    * the timer_transition has elapsed.
  17.    * @param event e the event that caused the timer to expire. This is
  18.    *                animation event, and can safely be ignored by most
  19.    *                users of this interface.
  20.    */
  21.   public void time_expired(event e);
  22. }
  23. /*=========================== COPYRIGHT NOTICE ===========================
  24.  
  25. This file is part of the subArctic user interface toolkit.
  26.  
  27. Copyright (c) 1996 Scott Hudson and Ian Smith
  28. All rights reserved.
  29.  
  30. The subArctic system is freely available for most uses under the terms
  31. and conditions described in 
  32.   http://www.cc.gatech.edu/gvu/ui/sub_arctic/sub_arctic/doc/usage.html 
  33. and appearing in full in the lib/interactor.java source file.
  34.  
  35. The current release and additional information about this software can be 
  36. found starting at: http://www.cc.gatech.edu/gvu/ui/sub_arctic/
  37.  
  38. ========================================================================*/
  39.